package com.biostime.qdingding.modules.cms.entity;

import com.biostime.qdingding.common.persistence.TreeEntity;
import com.biostime.qdingding.modules.qd.entity.Center;

/**
 * 栏目表Entity
 * @author king
 * @version 2015-12-11
 */
public class Category extends TreeEntity<Category> {

	private static final long serialVersionUID = 1L;

	private Integer channelId;// 频道ID
	private String title;// 类别标题
	private String linkUrl;// URL跳转地址
	private String imgUrl;// 图片地址
	private String content;//备注说明
	private String seoTitle;//seo标题
	private String seoKeywords;//seo关键字
	private String seoDescription;//seo描述
	
	private Center center;//所属中心
	
	public Category(){
		super();
	}
	
	public Category(String id){
		super(id);
	}

	public Integer getChannelId() {
		return channelId;
	}
	public void setChannelId(Integer channelId) {
		this.channelId = channelId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getLinkUrl() {
		return linkUrl;
	}
	public void setLinkUrl(String linkUrl) {
		this.linkUrl = linkUrl;
	}
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getSeoTitle() {
		return seoTitle;
	}
	public void setSeoTitle(String seoTitle) {
		this.seoTitle = seoTitle;
	}
	public String getSeoKeywords() {
		return seoKeywords;
	}
	public void setSeoKeywords(String seoKeywords) {
		this.seoKeywords = seoKeywords;
	}
	public String getSeoDescription() {
		return seoDescription;
	}
	public void setSeoDescription(String seoDescription) {
		this.seoDescription = seoDescription;
	}
	@Override
	public Category getParent() {
		return this.parent;
	}
	@Override
	public void setParent(Category parent) {
		this.parent = parent;
	}

	public Center getCenter() {
		return center;
	}

	public void setCenter(Center center) {
		this.center = center;
	}
}
